//
//  ROCommentModel.swift
//  NeusoftSchool
//
//  Created by 张瑞 on 2017/5/12.
//  Copyright © 2017年 李狗蛋. All rights reserved.
//

import UIKit

class ROCommentModel: NSObject {
    
    var order_id: NSNumber!
    var food_id: NSNumber!
    var user_id: NSNumber!
    var shop_id: NSNumber!
    var username: NSString!
    var foodname: NSString!
    var num: NSNumber!
    var sum: NSNumber!
    var suggesttime: NSString!
    var ordertime: NSString!
    var shopname: NSString!
    var shopaddress: NSString!
    var price: NSNumber!
    var content: NSString!
    var comment_time: NSString!
    
    
    class func commentModelWithDict(_ dict: NSDictionary) ->ROCommentModel {
        let model = ROCommentModel()
        //根据字典，进行模型的初始化
        model.setValuesForKeys(dict as! [String: AnyObject])
        return model
    }
}
